#!/bin/bash

cat  /usr/local/jenkins/workspace/test-gitlab/Dockerfile/DockerPasswd.txt |  docker login -u admin  --password-stdin  hub.atguigu.com

docker push $(  cat /tmp/jenkins.imageName.tmp )

docker logout hub.atguigu.com
